
function Testimonials({datas}){

    return(
        <>
             <div className="pt-10">
            <div className="max-w-6xl px-4 py-4 ">
                <h1 className="text-left text-2xl font-bold">在籍生</h1>
                <div className="divider"></div>
                <div className="grid mt-12 md:grid-cols-4 grid-cols-1 gap-8">
                {
                    datas.map((t, k) => {
                        return(
                            <div key={k} className="card w-full bg-base-100 shadow-xl">
                                <figure className="px-10 pt-10">
                                    <img className="mask w-20 h-20 mask-circle object-cover" src={t.avatar} />
                                </figure>
                                <div className="card-body items-center text-center">
                                    {/* <p>{t.text}</p> */}
                                    <p className="text-slate-500">-{t.name}</p>
                                </div>
                                </div>
                        )
                    })
                }
                
            </div>
            </div>
        </div>
        </>
    )
}

export default Testimonials